package com.ztx.service;

import com.ztx.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ztx.pojo.dto.RoleDto;

import java.util.List;

/**
* @author ztx
* @description 针对表【role】的数据库操作Service
* @createDate 2023-10-27 13:44:34
*/
public interface RoleService extends IService<Role> {

    void saveWithPermissions(RoleDto roleDto);

    List<RoleDto> listRoleDto();

    void deleteWithPermissions(Long id);

    RoleDto getByIdWithPermissions(Long roleId);

    void updateWithPermissions(RoleDto roleDto);
}
